package org.asiainfo.im.server.handler;

import com.corundumstudio.socketio.AckRequest;
import com.corundumstudio.socketio.SocketIOClient;
import com.corundumstudio.socketio.annotation.OnEvent;
import org.springframework.stereotype.Component;

/**
 * 测试事件处理器
 *
 * @author dotor-ww
 */
@Component
public class TestEventHandler {

    /**
     * 测试事件
     *
     * @param client     客户端
     * @param data       数据
     * @param ackRequest 确认请求
     */
    @OnEvent("testEvent")
    public void onTestEvent(SocketIOClient client, String data, AckRequest ackRequest) {

    }
}
